import { App } from "vue";
import { createRouter, createWebHistory } from "vue-router";
import routes from "./routes";

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default function setupRouter(app: App) {
    app.use(router)
}